package com.neusoft.neuiotms.dcom.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.Institutions;

public interface InstitutionsRepository extends JpaRepository<Institutions, Long>, CustomizedInstitutionsRepository {

    Institutions findByCode(String code);

    //Institutions findByResidentUserCode(String residentUserCode);

    Institutions findByResidents_UsernameIn(List<String> residentUserCode);

}
